package org.itboys.core.dao.order;

import org.apache.ibatis.annotations.Param;
import org.itboys.core.entity.mysql.SundayAddProductOrderSKU;
import org.itboys.core.entity.mysql.SundayReProductOrderSKU;
import org.itboys.mysql.dao.BaseMySqlMapper;

import java.util.List;

/**
 * @Author：贾琦磊
 * @Date：2018/8/22
 * @Description：
 */
public interface SundayReProductOrderSKUMapper extends BaseMySqlMapper<SundayReProductOrderSKU> {
    /**
     * 批量增加退货单附表
     * @param reProductOrderSKUS
     */
    void insertSKUs(@Param("reProductOrderSKUS") List<SundayReProductOrderSKU> reProductOrderSKUS);

    /**
     * 批量删除skuOrder
     * @param orderId
     */
    void deleteByOrderId(@Param("orderId")Long orderId);
}
